html{
    font-size: 16px;
}
.page{
    background-color: white;
}
/* ---------------------底部导航栏-------------------------- */
.nav-bottom .active span{
    color: #ea0d51;
}

.icon_home{
    width: 1.5rem;
    background-image: url('../tabBarImg/home1.png')
}

.icon_class{
    width: 1.5rem;
    background-image: url('../tabBarImg/class2.png')
}

.icon_shop{
    width: 1.5rem;
    background-image: url('../tabBarImg/car1.png')
}

.icon_mine{
    width: 1.5rem;
    background-image: url('../tabBarImg/my1.png')
}
.tab-item:active{
    color: #ea0d51;
}

/* ---------------------------------------顶部搜索框------------------------------------------ */
.header{
    padding: 0.1875rem 0.625rem;
    background-color: transparent;
    position: fixed;
    top: 0;

}
.header > div{
    display: inline-block;
    width: 89vw;
    position: relative;
    opacity: .5;
    background-color: #dddbdb;
}
.header >div>div{
    width: 86%;
    margin: 0 auto
}
.header > div input{
    display: block;
    margin: 0 auto;
    width:100%;
    height:1.8125rem;
    border: 0;
    outline: 0;
    background-color: #dddbdb;

}
.header > div input::placeholder{
    font-size: 0.75rem;
    text-align: center;
    color: black;
}

.header > div .icon-search{
    position: absolute;
    top: 0.3125rem;
    left: 0.3125rem;
    padding: 0;
}



.header > div .icon-code{
    width: 15px;
    position: absolute;
    right: 0.625rem;
    top: 0.3125rem;
    padding: 0;
    z-index: 666666;
}
.header a {
    color: gray;
}
.header .icon-message{
    width: 1px;
}


/* 侧边框 */
.panel{
    width: 100vw;
    background-color: white;
}
.header-right{
    padding: 0.1875rem 0.625rem;
    position: static;
    padding-right:0
}
.header-right >div{
    width: 87vw;
    background-color: rgb(247,259,251);
}
.header-right > div input{
    background-color: rgb(247,259,251);
}

.header-right .cancel{
    font-size: 12px;
}
.header-right .icon-search{
    color: gray
}
.header-right .open-panel{
    color: gray
}
.hot-clock{
    font-size: 0.625rem;
}
 .hot-clock  img{
    width: 1rem;

}
.hot-clock ul li{
    display: inline-block;
    list-style: none;
    width: 2.8125rem;
    text-align: center;
    background-color: rgb(241, 241, 241);
    margin:4px 2px; 
    border-radius:10px;
}
.right-clock p{
    position: relative;
}
.right-clock p span{
    position: absolute;
    right: 0;
    bottom: 0;
}

/* ---------------------------------二维码侧边框------------------------ */
.code-header{
    background-color: white;
    color: black;
    height: 3.125rem;
    line-height: 3.125rem;
    font-size: 1rem;
}
.code-header p{
    margin: 0;
    position: relative;
    text-align: center;
}
.code-header .fanhui{
    position: absolute;
    left: 0;
    top: 1.0625rem
}
.code-header .code-right{
    position: absolute;
    right: 0;
}
.code-content {
    width: 100vw;
    height: 100%;
    background-color: black
}

/* ----------------------------------十六种分类-------------------------- */
.class-sort{
    width: 100vw;
}
.class-sort li{
    list-style: none;
    display: inline-block;
    width: 24vw;
}
.class-sort li img{
    width: 100%;
}
.class-sort li p{
    text-align: center;
    margin: 0;
    font-size: 12px;
}

/* -----------------------流行单品----------------- */

.cot {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cot a{
    width: 44vw;
    height: 19.375rem;
    font-size: 0.625rem;
    background-color: white;
    box-sizing: content-box;
    position: relative;
}
.cot .bigimg{
    width: 100%;
    height: 15.625rem;
}
.cot .goods-msg span{ 
    background-color: #f2f5f7;
    margin-right:5px;
    color:#818b9e;
}
.cot p{
    margin: 0;
}
.cot .goods-bottom{
    width: 45vw;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
 
}

.cot .goods-price{
    color: black;
    left: 0;
}
.cot .goods-star{
    color:#818b9e;
    display: flex;
    align-items: center;
}
.cot .goods-star img {
    width: 20px
}

/* ------------------------------回到顶部------------------- */

.goTop{
    display: none;
    width: 50px;
    height: 50px;
    position: fixed;
    right: 40px;
    bottom: 100px;
    border-radius: 50%;
    background-color: #fe70a0;
    color: white;
    line-height: 50px;
    text-align: center;
    opacity: .6;
}